package com.cloud.shopping.goods.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author John.zhang
 * @version Id: Spu, v 1.0 2020/12/28 16:31 ZhiYong Exp $
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "spu")
public class Spu {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    private String name;

    private String intro;

    private Integer brandId;

    private Integer categoryOneId;

    private Integer categoryTwoId;

    private Integer categoryThreeId;

    private String images;

    private String afterSalesService;

    private String content;

    private String attributeList;

    private Integer isMarketable;

    private Integer isDelete;

    private Integer status;
}
